{eq name="type" value="text"}
<div class="control-group params-item">
	<label class="control-label">是否是密码框</label>
	<div class="controls">
		{empty name="list"}
		<label><input type="radio" name="fields[exts][is_password]" value="1">是</label>
		<label><input type="radio" name="fields[exts][is_password]" value="0" checked>否</label>
		{else/}
		<label><input type="radio" name="fields[exts][is_password]" value="1" {eq name="list['exts']['is_password']" value="1"}checked{/eq}>是</label>
		<label><input type="radio" name="fields[exts][is_password]" value="0" {eq name="list['exts']['is_password']" value="0"}checked{/eq}>否</label>
		{/empty}
	</div>
</div>
<div class="control-group params-item">
	<label class="control-label">字段默认值</label>
	<div class="controls">
		<input type="text" name="fields[exts][default]" value="{$list['exts']['default']|default=''}">
	</div>
</div>
{/eq}
{eq name="type" value="textarea"}
<div class="control-group params-item">
	<label class="control-label">字段默认值</label>
	<div class="controls">
		<textarea style="width: 500px;height: 60px;" name="fields[exts][default]">{$list['exts']['default']|default=''}</textarea>
	</div>
</div>
{/eq}
{eq name="type" value="select_type"}
<div class="control-group params-item">
	<label class="control-label">选项类型</label>
	<div class="controls">
		{empty name="list"}
		<label><input type="radio" name="fields[exts][select_type]" value="radio" checked>单选</label>
		<label><input type="radio" name="fields[exts][select_type]" value="checkbox">多选</label>
		<label><input type="radio" name="fields[exts][select_type]" value="select">下拉列表</label>
		{else/}
		<label><input type="radio" name="fields[exts][select_type]" value="radio" {eq name="list['exts']['select_type']" value="radio"}checked{/eq}>单选</label>
		<label><input type="radio" name="fields[exts][select_type]" value="checkbox" {eq name="list['exts']['select_type']" value="checkbox"}checked{/eq}>多选</label>
		<label><input type="radio" name="fields[exts][select_type]" value="select" {eq name="list['exts']['select_type']" value="select"}checked{/eq}>下拉列表</label>
		{/empty}
	</div>
</div>
<div class="control-group params-item">
	<label class="control-label">字段类型</label>
	<div class="controls">
		<select name="fields[exts][field_type]">
		  {empty name="list"}
		  <option value="varchar(10)">字符 VARCHAR</option>
		  <option value="tinyint(3)">整数 TINYINT(3)</option>
		  <option value="smallint(5)">整数 SMALLINT(5)</option>
		  <option value="mediumint(8)">整数 MEDIUMINT(8)</option>
		  <option value="int(10)">整数 INT(10)</option>
		  {else/}
		  <option value="varchar" {eq name="list['exts']['field_type']" value="varchar(10)"}selected{/eq}>字符 VARCHAR</option>
		  <option value="tinyint" {eq name="list['exts']['field_type']" value="tinyint(3)"}selected{/eq}>整数 TINYINT(3)</option>
		  <option value="smallint" {eq name="list['exts']['field_type']" value="smallint(5)"}selected{/eq}>整数 SMALLINT(5)</option>
		  <option value="mediumint" {eq name="list['exts']['field_type']" value="mediumint(8)"}selected{/eq}>整数 MEDIUMINT(8)</option>
		  <option value="int" {eq name="list['exts']['field_type']" value="int(10)"}selected{/eq}>整数 INT(10)</option>
		  {/empty}
		</select>
	</div>
</div>
<div class="control-group params-item">
	<label class="control-label">字段默认值</label>
	<div class="controls">
		<input type="text" name="fields[exts][default]" value="{$list['exts']['default']|default=''}">
	</div>
</div>
<div class="control-group params-item">
	<label class="control-label">选项列表</label>
	<div class="controls">
		<textarea name="fields[exts][select_config]" style="width: 500px; height: 80px;">{empty name="list"}选项名称1|选项值1{else/}{$list['exts']['select_config']|default=''}{/empty}</textarea>
	</div>
</div>
{/eq}
